package com.mzkj.wanjulaile.mobile.api.modules.activeConfig.service;

import com.mzkj.wanjulaile.mobile.api.modules.activeConfig.entity.BannerConfig;
import com.mzkj.wanjulaile.mobile.api.modules.activeConfig.mapper.BannerConfigMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * banner活动配置Service
 * @author ianly
 * @version 2017-02-07
 */
@Service
public class BannerConfigServiceImpl implements BannerConfigService {
	@Autowired
	private BannerConfigMapper bannerConfigMapper;

	public BannerConfig get(String id) {
		return bannerConfigMapper.get(id);
	}
	
	public List<BannerConfig> findList(BannerConfig bannerConfig) {
		return bannerConfigMapper.findList(bannerConfig);
	}

}